package com.manage.system.api.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author zhangqing
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysDictData implements Serializable {


    /**
     * 字典编码
     */
    @TableId
    private Long id;

    /**
     * 字典排序
     */
    private Integer dictSort;

    /**
     * 字典标签
     */
    private String dictLabel;

    /**
     * 字典键值
     */
    private String dictValue;

    /**
     * 字典类型
     */
    private String dictType;

    /**
     * 是否默认（Y是 N否）
     */
    private Boolean isDefault;

    /**
     * 状态（1正常 0停用）
     */
    private Boolean status;

    /**
     * 创建者
     */
    private Long createStaff;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    private Long updateStaff;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    private String remark;


    public static final String ID = "id";

    public static final String DICT_SORT = "dict_sort";

    public static final String DICT_LABEL = "dict_label";

    public static final String DICT_VALUE = "dict_value";

    public static final String DICT_TYPE = "dict_type";

    public static final String IS_DEFAULT = "is_default";

    public static final String STATUS = "status";

    public static final String CREATE_STAFF = "create_staff";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_STAFF = "update_staff";

    public static final String UPDATE_TIME = "update_time";

    public static final String REMARK = "remark";

}
